

export default (buttons,permission)=>{
    console.log(permission);
    console.log(buttons);
let res=buttons.includes(permission)
return res
}